<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学生信息注册</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }
        .container {
            max-width: 600px;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            margin: 0 auto;
        }
        h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .form-group input[type="text"],
        .form-group input[type="number"],
        .form-group select {
            width: 100%;
            padding: 8px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        .form-group select {
            height: 38px;
        }
        .btn-submit {
            background-color: #4CAF50;
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            width: 100%;
        }
        .btn-submit:hover {
            background-color: #45a049;
        }
        </style>
        </head>
        <body>

        <div class="container">
        <h2>学生信息注册</h2>
        <form id="studentForm" method="POST">
        <div class="form-group">
        <label for="stu_name">姓名:</label>
        <input type="text" id="stu_name" name="stu_name" required>
        </div>
        <div class="form-group">
        <label for="stu_age">年龄:</label>
        <input type="number" id="stu_age" name="stu_age" required>
        </div>
        <div class="form-group">
        <label for="stu_sex">性别:</label>
        <select id="stu_sex" name="stu_sex" required>
        <option value="">选择性别</option>
        <option value="male">男</option>
        <option value="female">女</option>
        </select>
        </div>
        <div class="form-group">
        <label for="stu_address">地址:</label>
        <input type="text" id="stu_address" name="stu_address" required>
        </div>
        <input type="submit" class="btn-submit" value="提交">
        </form>
        </div>

        </body>
        </html>